OPC Studio User's Guide and Reference
Registry License Store
Concepts > Development Concepts > Application Deployment > Licensing Elements > Registry License Store
In This Topic
This functionality is only available on (or the text applies to) Windows (it is not available on Linux or macOS).

Manual License Key Deployment

When you use the Registry License Store, proper license key (for runtime usage) must be installed on the target computer (the computer where the product will be running).

The standard method for installing the QuickOPC or OPC Wizard license on runtime machines is manual: The user runs the License Manager utility (GUI or console-based), and installs the license by pointing the program to the license file stored on the disk.

If you have multiple QuickOPC or OPC Wizard versions installed on the computer, you need to deploy the license key that covers them all.

The subsequent part of the documentation describes how to automate the above procedure so that the user does not have to interact with the License Manager utility.

Registry Key for QuickOPC

The license key is stored in the registry, under the following registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\Licensing\QuickOPC\Multipurpose

In order to install the license key, this registry key and anything that is beneath it, must be properly deployed to the target machine.

Note: On 64-bit systems, the license key is stored in 32-bit registry. When the registry is accessed from 64-bit application, you must use the following registry key instead:

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Licensing\QuickOPC\Multipurpose

On 64-bit systems, if QuickOPC or OPC Wizard is used from both 32-bit and 64-bit processes, you have to install the license into both 32-bit and 64-bit parts of the registry.

Registry Key for OPC Wizard

The license key is stored in the registry, under the following registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\Licensing\OPCWizard\Multipurpose

In order to install the license key, this registry key and anything that is beneath it, must be properly deployed to the target machine.

Note: On 64-bit systems, the license key is stored in 32-bit registry. When the registry is accessed from 64-bit application, you must use the following registry key instead:

HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Licensing\OPCWizard\Multipurpose

On 64-bit systems, if QuickOPC or OPC Wizard is used from both 32-bit and 64-bit processes, you have to install the license into both 32-bit and 64-bit parts of the registry.

Access to the License Key

The license key is stored in the registry. For the license to be recognized, the process (that runs OPC Studio components) must have read access to the corresponding registry keys. That is normally not a problem under "interactive" user accounts and traditional desktop applications, but it can be an issue e.g. when QuickOPC runs as Windows service, or in hosted environments (such as IIS).

Specifically, IIS has one process for each Application Pool, and the application pool runs under a configurable user account. You need to assure that this user account has read access to the registry keys where the license is stored.

 

See Also

Examples - Client Licensing

Tools and Online Services

Examples - Server Licensing